package com.heima.shopweb.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
@Data
@TableName("cart")
public class Cart implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private Integer memberId;
    private Integer goodId;
    private Integer qty;
}
